import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/page/Index'
import Info from '@/page/Info'
import Trade from '@/page/Trade'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
      children: [
        {
          path: '/Info', component: Info
        },
        {
          path: '/Trade', component: Trade
        }
      ]
    }
  ]
})
